-- GENERATED SPELL FOR [Skeletal Frostweaver] --


function spell0_7341(pUnit, Event) --@Frostbolt,n/a--
pUnit:FullCastSpellOnTarget(9672,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7341', 7000, 1)
end

function Sorts_7341(pUnit, Event)
local choix_sorts_7341 = math.random(0, 0)
if choix_sorts_7341 == 0 then
pUnit:RegisterEvent('spell0_7341', 1, 1)
end
end

function mob7341_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7341', math.random(1500, 3000), 1)
end

function mob7341_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7341_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7341_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7341, 1, 'mob7341_Action')
RegisterUnitEvent(7341, 2, 'mob7341_Leave')
RegisterUnitEvent(7341, 3, 'mob7341_Kill')
RegisterUnitEvent(7341, 4, 'mob7341_Die')
